#pragma once

/*
 * tengine version 1.0
 * Copyright (C) 2011, Felix Bytow
 *
 * This file is part of tengine.
 *
 * tengine is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * tengine is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with tengine.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef __TENGINE_SOCKET_API_HXX__
#define __TENGINE_SOCKET_API_HXX__

#include "platform.hxx"

namespace tengine
{
	template <int PlatformId>
	class SocketApi
	{
	private:
		inline SocketApi(void) {}
		inline SocketApi(SocketApi const & src) {}
	public:
		inline ~SocketApi(void) {}
	};

#	if TENGINE_PLATFORM == TENGINE_PLATFORM_WINDOWS
		template <>
		class SocketApi<TENGINE_PLATFORM_WINDOWS>
		{
		private:
			SocketApi(void);
			inline SocketApi(SocketApi const & src) {}
		public:
			~SocketApi(void);
		};
#	endif

	typedef SocketApi<TENGINE_PLATFORM> Sockets;
}

#endif // __TENGINE_SOCKET_API_HXX__
